<template>
  <div>
    <div class="page-header">
      <span class="pre-label">加载全项数据:</span
      ><el-checkbox v-model="isShow"></el-checkbox>
    </div>
    <div>
      <el-form :model="postrueData" label-width="100px">
        <el-row>
          <el-col>
            <el-form-item label="类型:"
              ><el-select v-model="postrueData.type">
                <el-option
                  v-for="item in typeOptions"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                ></el-option></el-select
            ></el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="8"
            ><el-form-item label="最小相位角:"
              ><el-input v-model="postrueData.minDeg"></el-input></el-form-item
          ></el-col>
          <el-col :span="6">
            <el-form-item class="left-move">
              <el-select v-model="postrueData.minDegUnit" class="unit-class">
                <el-option></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="8"
            ><el-form-item label="最大相位角:">
              <el-input v-model="postrueData.maxDeg"></el-input> </el-form-item
          ></el-col>
          <el-col :span="6">
            <el-form-item class="left-move">
              <el-select v-model="postrueData.maxDegUnit" class="unit-class"
                ><el-option
                  v-for="item in rotationUnitOptions"
                  :key="item.value"
                  :value="item.value"
                  :label="item.label"
                ></el-option
              ></el-select>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      isShow: true,
      precursor: "",
      options: [{ label: "标准", value: "标准" }],
      postrueData: {
        type: "",
        maxDeg: "",
        speedUnit: "",
        minDeg: "",
        maxDegUnit: "",

        minDegUnit: "",
      },
      typeOptions: [
        { label: "对日自旋稳定", value: "对日自旋稳定" },
        { label: "轨道坐标系", value: "轨道坐标系" },
      ],
      rotationUnitOptions: [
        { label: "DEG", value: "deg" },
        { label: "", value: "" },
      ],
    };
  },
};
</script>
<style scoped>
.pre-label {
  padding: 0 10px 0 13px;
}
</style>
